package com.haoze.common.enumeration;

import javax.xml.bind.annotation.XmlType;

/**
 * 状态类枚举
 * @author fcx
 * @date 2019年2月14日15:33:59
 */
public enum StateEnum {
    HOSPITAL_CHENGZHONG("01", "城中院区"),
    HOSPITAL_YANGHU("02", "阳湖院区"),
    STOP_FLAG_NORMAL("0", "正常"),
    DATASET_TEMPLATE("3","数据集"),
    CATALOG_TEMPLATE("4","病历目录"),
    NOW_TEMPLATE("5","当前模板"),
    CATALOG_ORDERS("6", "医嘱目录"),
    CATALOG_TASKS("7", "任务流目录"),
    NODE("8","大节点"),
    LOGIN("1","登录"),
    ADMIN("9","系统管理员"),
    FIRST("8","科主任"),
    SECOND("7","副科主任"),
    DEFAULT_SHOW("0","显示"),
    ELEMENT_NAME("数据元","数据元"),
    DEFAULT_PRINT("0","打印"),
    DEFAULT_DELETE("0","删除"),
    DEFAULT_CHANGE("1","不需要修改"),
    DEFAULT_PROPERTY("0","属性"),
    DEFAULT_DATATYPE_ID("0","属性"),
    DEFAULT_DELETABLE("0","可删除"),
    UPDATE_FLAG("0","更新"),
    READ_FLAG("1","已阅读"),
    NEW("0","新增"),
    DISABLED("Y","禁选"),
    EDIT("1","编辑"),
    STOP("1","停用"),
    START("0","启用"),
    HIDE("1", "隐藏"),
    SHOW("0", "显示"),
    EMR_STOP("1", "停用"),
    CK_RSFXDFXCHECK("ck_rsfxdfxcheck","妊娠风险-低风险详情"),
    CHECK("0","勾选选中"),
    CK_CRXJB("ck_crxjb","传染性疾病"),
    CK_RSFXCRXJB("ck_rsfxcrxjb","妊娠风险-传染性疾病"),
    EMR_START("0",  "启用"),
    EMR_DEL("1", "假删"),
    EMR_UNDEL("0",  "未删"),
    CATALOG_ELEMENT("2",  "数据元"),
    CATALOG_TYPE("1",  "目录"),
    ROLE_TYPE_WHOLE_HOSPITAL("1", "全院"),
    ROLE_TYPE_DEPARTMENT("2", "科室"),
    ROLE_TYPE_PERSONAL("3", "个人"),
    HAS_VALUE("2", "有值域"),
    HAS_DICT("4", "关联字典"),
    MAX_SIZE("20","条数"),
    MEDICAL_MAIN_TYPE("20","术语"),
    MEDICAL_TYPE("21", "值域"),
    DICT_TYPE("22", "字典"),
    INPUT_TYPE("12", "输入型数据元"),
    CHOOSE_TYPE("11", "选择型数据元"),
    IN_PUT("0", "可输入文本"),
    HL_RL("hlrl", "护理入量"),
    HL_CL("hlcl", "护理出量"),
    HL_PGXM("hlpgxm", "护理评估项目"),
    HL_PGXMMC("hlpgxmmc", "护理评估项目"),
    HL_BQJHL("hlbqjhl", "护理病区及护理"),
    HL_BQJHLJD("hlbqjhljd", "护理病区及护理节点"),
    HL_RLMC("hlrlmc", "护理入量名称"),
    HL_CLMC("hlclmc", "护理出量名称"),
    HL_RLZ("hlrlz", "护理入量值"),
    HL_XY("hlxy", "护理吸氧"),
    HL_RLYC("hlrlyc", "护理入量隐藏"),
    HL_CLYC("hlclyc", "护理出量隐藏"),
    NODE_TYPE("5", "当前模板节点(病历模板前台用)"),
    MEDICAL_NODE_TYPE("6", "当前模板医疗术语节点(病历模板前台用)"),
    OUT_PUT("1", "不可输入文本"),
    CHECK_BOX("5", "勾选项"),
    IS_CHECK("1", "勾选选中"),
    SIMPLE_SEL("6", "单选"),
    MULTI_SEL("7", "多选"),
    ASSOCIATED_DICT("4", "关联字典"),
    NO_VALUE("1", "不含值域"),
    TOUCH_ELEMENT("2", "出发数据元"),
    CATA_ID("1", "病历目录"),
    ELE_VALUE("3", "生效数据元"),
    TAKE_ELEMENT("4", "带入数据元"),
    MEDICAL_SYMPTOMS("伴随症状", "伴随症状"),
    DEFAULT_PID("0", "默认父节点"),
    MEDICAL_CATALOG("5", "术语"),
    INPUT_CODE("2", "数字数据元"),
    INPUT_CODE_FTYPE("12","输入型数据元-数字类型"),
    INPUT_CODE_STYPE("13","输入型数据元-字符类型"),
    INPUT_CODE_TTYPE3("11","选择型数据元"),
    HOSPITAL_ID("80D024E29BF40C9DE0537A5B14AC1620", "医疗机构"),
//    MEDICAL_CATALOG("5", "术语"),
    DEFAULT_FALSE("-99999", "max_value为空时返回的默认值"),
    DEFALUST_SORT("1", "默认序列"),
    LOCAL_TYPE("1","横向"),

    MEDICALLOG_TYPE_ONE("1","新增"),
    MEDICALLOG_TYPE_TWO("2","删除"),
    MEDICALLOG_TYPE_THREE("3","修改"),

    MEDICALLOG_CODE_ONE("ADD","新增"),
    MEDICALLOG_CODE_TWO("DELETE","删除"),
    MEDICALLOG_CODE_THREE("UPDATE","修改"),


    OPERATE_NAME_ONE("新增","新增"),
    OPERATE_NAME_TWO("删除","删除"),
    OPERATE_NAME_THREE("修改","修改"),

    OPERATE_MODULE_ONE("1","触发条件"),
    OPERATE_MODULE_TWO("2","级联"),

    INCOMPLETE("0","未完成"),
    COMPLETED("1","已完成"),

    //OPERATE_MODULE_THREE("3","医疗术语名称"),
    //OPERATE_MODULE_FOUR("4","所属目录"),
    OPERATE_MODULE_FIVE("5","序号"),
    OPERATE_MODULE_SIX("6","引用数据元"),
    OPERATE_MODULE_SEVEN("7","医疗术语状态"),

    OPERATE_MODULE_THREE("3","编辑、新增"),
    OPERATE_MODULE_FOUR("4","医疗术语本身"),

    ELEMENT_SEL_TYPE("1","数据元"),
    MEDICAL_SEL_TYPE("2","医疗术语"),
    HSP_OR_PRI_SEL_TYPE("3","值域或字典搜索出的数据元"),
    TEMPLATE_NODE_NEW("19","模板节点新增"),
    TEMPLATE_NODE_EDIT("20","模板节点编辑"),
    TEMPLATE_NODE_DEL("21","模板节点删除"),

    TEMPLATE_DATASET("3","数据集"),
    TEMPLATE_CTL("4","病历目录"),

    HSP_NAME("单位", "字典名称"),

    SHOW_IDENTIFICATION("0", "显示节点"),
    SHOW_IDENTIFICATION_NO("1", " 不显示节点"),
    PRINT_IDENTIFICATION("0", "需打印节点"),
    DELETE_IDENTIFICATION("0", "可删除节点"),


    MINUTE_TYPE_0("0", "间隔分钟"),
    MINUTE_TYPE_1("1", "指定分钟"),
    HOUR_TYPE_0("0", "间隔小时"),
    HOUR_TYPE_1("1", "指定小时"),
    DAY_TYPE_0("0", "间隔天"),
    DAY_TYPE_1("1", "指定星期"),

    INSPECTION_CODE("sy_syxs", "输液巡视"),
    INSPECTION_TIME_CODE("sy_xssj", "巡视时间"),
    SIGN_CODE("ck_jlhsqm", "护士签名"),
    INFLUSION_SURPLUS("sy_syl", "输液剩余量"),
    INFLUSION_SPEED("syzx_speed", "输液滴速"),
    ORDER_SAVE("0","开立"),
    ORDER_SUBMIT("1","提交"),
    ORDER_AUDIT("2","复核"),
    ORDER_STOP("3","停止"),
    ORDER_INVALID("4","作废"),
    ORDER_EXECUTE5("5","执行可取消"),
    ORDER_EXECUTE6("6","执行不可取消"),

    QR_CODE_PRINT("3","口服药二维码医嘱打印"),
    ITINERARY_PRINT("6","巡回单打印"),
    TREATMENT_PRINT("7","治疗单打印"),

    BY_TYPE("dispensing","待摆药"),
    GY_TYPE("dose","待给药"),
    FY_TYPE("take","待服药"),
    HS_TYPE("recovery","已回收"),
    ZZ_TYPE("termination","药物终止"),
    HD_TYPE("confirm","核对下一个节点"),
    TB_TYPE("turnBack","药物回收"),
    WC_TYPE("finish","已完成"),

    ORDER_DEL("8","删除"),
    ORDER_CANCEL("9","取消"),

    LEVEL_NO_NOTIFY("0", "不通知");





    private final String value;
    private final String text;

    StateEnum(String value, String text) {
        this.value = value;
        this.text = text;
    }

    public String getValue() {
        return value;
    }

    public String getText() {
        return text;
    }
}
